From 7b9dafce5d6a0b87491f79ebf3cbc4748e22e071 Mon Sep 17 00:00:00 2001 From: "kaf24@labyrinth.cl.cam.ac.uk" Date: Thu, 13 Feb 2003 19:31:59 +0000 Subject: [PATCH] bitkeeper revision 1.22.2.21 (3e4bf2aflO59Pk9VYHigeXQrI0c6Fw) domain.c: Ensure DOM0's page directory is pinned in setup_guestos(). --- xen-2.4.16/common/domain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen-2.4.16/common/domain.c b/xen-2.4.16/common/domain.c index 61323d764d..abe46e9853 100644 --- a/xen-2.4.16/common/domain.c +++ b/xen-2.4.16/common/domain.c @@ -672,6 +672,8 @@ int setup_guestos(struct task_struct *p, dom0_newdomain_t *params) frame_table; cur_address <<= PAGE_SHIFT; } + page->type_count |= REFCNT_PIN_BIT; + page->tot_count |= REFCNT_PIN_BIT; page->flags = dom | PGT_l2_page_table; unmap_domain_mem(l1start); -- 2.30.2